﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp3
{
    class Surperman : Animal, IFlyable
    {
        public Surperman(string name) : base(name)
        {
            
        }
        public override void Eat()
        {
            Console.WriteLine("{0}会吃", this.Name);
        }
        public void Fly()
        {
            Console.WriteLine("{0}会飞", this.Name);
        }

        public void Land()
        {
            Console.WriteLine("{0}会着陆", this.Name);
        }

        public void TakeOff()
        {
            Console.WriteLine("{0}会起飞", this.Name);
        }
    }
}
